<?php
require_once 'framework/components/SimpleResultTable.class.php';
require_once 'service/GrupoServiceImpl.class.php';

$grupoService  = new GrupoServiceImpl();
$queryResult = $grupoService->getAll();
$srt = new SimpleResultTable('listaGrupo',array("id", "nome","administrador"),$queryResult);
?>


<form id="formListGrupo" method="POST">
	<?php $srt->show();?>
	<input type="submit" value="Remover" onclick="removerGrupo()"/>
</form>

